package com.xbongbong.pro.detailtab.pojo;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

/**
 * bom版本
 * @author feng.zheng
 * @version v1.0
 * @date 2019/4/11 17:36
 * @since v1.0
 */
@Getter
@Setter
public class ExpresssAddressPojo {

    /**
     * 省
     */
    @Length(max = 50, message = "省的长度不可超过50")
    private String province;

    /**
     * 市
     */
    @Length(max = 50, message = "市的长度不可超过50")
    private String city;

    /**
     * 区
     */
    @Length(max = 50, message = "区的长度不可超过50")
    private String district;

    /**
     * 省
     */
    @Length(max = 200, message = "详细地址的长度不可超过200")
    private String address;
}
